//
//  ZCSHearTableViewCell.m
//  聆听FM
//
//  Created by dllo on 16/6/7.
//  Copyright © 2016年 Dark. All rights reserved.
//

#import "ZCSHearTableViewCell.h"

@implementation ZCSHearTableViewCell

- (void)awakeFromNib {
    [super awakeFromNib];
    // Initialization code
    self.backgroundColor = [UIColor colorWithWhite:1 alpha:0.2];
}

- (void)setListModel:(ZCSSpecialColumnList *)listModel
{
    if (_listModel != listModel) {
        [self.leftImageView sd_setImageWithURL:[NSURL URLWithString:listModel.coverPath] placeholderImage:[UIImage sd_animatedGIFNamed:@"占位图"]];
        self.contectLabel.text = listModel.subtitle;
        self.numberLabel.text = listModel.footnote;
        self.titleLabel.text = listModel.title;
    }
}
- (void)setBouModel:(ZCSBoutListenModel *)bouModel
{
    if (_bouModel != bouModel) {
        [self.leftImageView sd_setImageWithURL:[NSURL URLWithString:bouModel.coverPathSmall] placeholderImage:[UIImage sd_animatedGIFNamed:@"占位图"]];
        self.contectLabel.text = bouModel.subtitle;
        self.numberLabel.text = bouModel.footnote;
        self.titleLabel.text = bouModel.title;
    }
}


- (void)setNewsListModel:(ZCSNewsCateListListModel *)newsListModel
{
    if (_newsListModel != newsListModel) {
        [self.leftImageView sd_setImageWithURL:[NSURL URLWithString:newsListModel.coverPathSmall] placeholderImage:[UIImage sd_animatedGIFNamed:@"占位图"]];
        self.contectLabel.text = newsListModel.subtitle;
        self.numberLabel.text = newsListModel.footnote;
        self.titleLabel.text = newsListModel.title;
    }

}


- (void)setSelected:(BOOL)selected animated:(BOOL)animated {
    [super setSelected:selected animated:animated];

    // Configure the view for the selected state
}

@end
